namespace ScrumProject.Migrations
{
    using System;
    using System.Data.Entity.Migrations;
    
    public partial class SS5 : DbMigration
    {
        public override void Up()
        {
            AddColumn("dbo.Story", "SprintId", c => c.Int());
            AddForeignKey("dbo.Story", "SprintId", "dbo.Sprint", "Id");
            CreateIndex("dbo.Story", "SprintId");
        }
        
        public override void Down()
        {
            DropIndex("dbo.Story", new[] { "SprintId" });
            DropForeignKey("dbo.Story", "SprintId", "dbo.Sprint");
            DropColumn("dbo.Story", "SprintId");
        }
    }
}
